package com.kx.yooli.kx.wechat.controller.wx;

import com.google.common.collect.Maps;
import com.kx.yooli.kx.wechat.po.result.AjaxResult;
import jakarta.servlet.http.HttpServletRequest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;
import java.util.Optional;

/**
 * @author john_sqwen-childe.wen
 * date 2024/5/9
 * PROJECT_NAME wechat
 * description create WechatController by john_sqwen
 * and  value is
 */
@RestController
@RequestMapping("/api/wechat/")
public class WechatController {
    private final Logger log = LoggerFactory.getLogger(WechatController.class);
    @RequestMapping(value = "sign",method = RequestMethod.POST)
    public AjaxResult signWechat(){
        Map<String,String> maps = null;
        return AjaxResult.success();
    }

    @RequestMapping("token")
    public AjaxResult giveToken(){

        return AjaxResult.success();
    }
}
